package com.ityueqiangu.project.galleryappoint.service;

import java.util.List;
import com.ityueqiangu.project.galleryappoint.domain.GalleryAppoint;

/**
 * @author Clever、xia
 * @title: GalleryAppointService
 * @description:
 * @date 2021-03-18 14:50:34
 */
public interface IGalleryAppointService {

    /**
     * 查询所有记录
     *
     * @return list集合
     */
    List<GalleryAppoint> selectGalleryAppointList(GalleryAppoint galleryAppoint);


    /**
     * 根据主键查询
     *
     * @param id 主键
     * @return 返回GalleryAppoint
     */
    GalleryAppoint selectGalleryAppointById(Integer id);
	
    /**
     * 新增
     *
     * @param galleryAppoint 新增的记录
     * @return 返回ResultInfo
     */
    Integer insertGalleryAppoint(GalleryAppoint galleryAppoint);
	
	
    /**
     * 修改，修改所有字段
     *
     * @param galleryAppoint 修改的记录
     * @return 返回ResultInfo
     */
    Integer updateGalleryAppoint(GalleryAppoint galleryAppoint);
	
    /**
     * 删除记录
     *
     * @param id 主键
     * @return 返回ResultInfo
     */
    Integer deleteGalleryAppointById(Integer id);

    /**
     * 预约审批
     * @param galleryAppoint
     * @return
     */
    Integer approve(GalleryAppoint galleryAppoint);
	
}